﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AutoTestEntry.UI
{
	public partial class DeploySelectionForm : Form
	{
		public DeploySelectionForm()
		{
			InitializeComponent();

			Init();
		}

		private void Init()
		{
			this.StartPosition = FormStartPosition.CenterScreen;
			this.FormBorderStyle = FormBorderStyle.FixedSingle;
			this.MaximizeBox = false;

			btnAuto.Click += btnAuto_Click;
			btnHanded.Click += btnHanded_Click;
			btnImort.Click += btnImport_Click;
		}

		private void btnAuto_Click(Object sender, EventArgs e)
		{
			this.DialogResult = DialogResult.Yes;
			this.Dispose();
		}

		private void btnHanded_Click(Object sender, EventArgs e)
		{
			this.DialogResult = DialogResult.No;
			this.Dispose();
		}

		private void btnImport_Click(Object sender, EventArgs e)
		{
			this.DialogResult = DialogResult.OK;
			this.Dispose();
		}
	}
}
